using System.Linq;

namespace MusicStore.Data.Repository
{
	public interface IRepositoryBase
	{
		IQueryable<T> List<T>();
		void Save<T>(T obj);
		void Delete<T>(T obj);
		// instead of an explicit flush call we should use a session manager with a session per
		// call pattern when used in a webservice
		void Flush();
	}
}